export default {
  search: (params) => {
    console.log('Search, got params:', params)
    return Promise.resolve({
      data: {
        list: [
          { id: 1, pic_url: '...', link: '...', title: '...', sales: 100 },
          { id: 2, pic_url: '...', link: '...', title: '...', sales: 100 },
          { id: 3, pic_url: '...', link: '...', title: '...', sales: 100 },
          { id: 4, pic_url: '...', link: '...', title: '...', sales: 100 },
        ]
      }
    })
  },
  copy: (params) => {
    console.log('Copy, got params:', params)
    return Promise.resolve({
      data: {
        msg: 'success'
      }
    })
  }
}
